/**  
* @Title:  AlarmBean.java
* @Package com.hugedata.cdn.service.task.bean
* @Description: TODO(用一句话描述该文件做什么)
* @author wangxiaoming
* @date  Jan 30, 2015 6:36:37 PM
* @version V1.0  
* Update Logs:
* ****************************************************
* Name:
* Date:
* Description:
******************************************************
*/
package com.hugedata.cdn.service.task.bean;

/**
 * @ClassName: AlarmBean
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @author wangxiaoming
 * @date Jan 30, 2015 6:36:37 PM
 *
 */
public class AlarmBean
{
    private int id;
    
    //
    private String httptime;
    
    //
    private String availability;
    
    //
    private String delay;
    
    //
    private String loss;
    
    //
    private int siteid;
    
    //
    private int userid;
    
    //当sendFlag=1的时候，表示已告警;0表未告警
    private int sendFlag;

    /**
     * @return id
     */
    public int getId()
    {
        return id;
    }

    /**
     * @param id 要设置的 id
     */
    public void setId(int id)
    {
        this.id = id;
    }

    /**
     * @return httptime
     */
    public String getHttptime()
    {
        return httptime;
    }

    /**
     * @param httptime 要设置的 httptime
     */
    public void setHttptime(String httptime)
    {
        this.httptime = httptime;
    }

    /**
     * @return availability
     */
    public String getAvailability()
    {
        return availability;
    }

    /**
     * @param availability 要设置的 availability
     */
    public void setAvailability(String availability)
    {
        this.availability = availability;
    }

    /**
     * @return delay
     */
    public String getDelay()
    {
        return delay;
    }

    /**
     * @param delay 要设置的 delay
     */
    public void setDelay(String delay)
    {
        this.delay = delay;
    }

    /**
     * @return loss
     */
    public String getLoss()
    {
        return loss;
    }

    /**
     * @param loss 要设置的 loss
     */
    public void setLoss(String loss)
    {
        this.loss = loss;
    }

    /**
     * @return siteid
     */
    public int getSiteid()
    {
        return siteid;
    }

    /**
     * @param siteid 要设置的 siteid
     */
    public void setSiteid(int siteid)
    {
        this.siteid = siteid;
    }

    /**
     * @return userid
     */
    public int getUserid()
    {
        return userid;
    }

    /**
     * @param userid 要设置的 userid
     */
    public void setUserid(int userid)
    {
        this.userid = userid;
    }

    /**
     * @return sendFlag
     */
    public int getSendFlag()
    {
        return sendFlag;
    }

    /**
     * @param sendFlag 要设置的 sendFlag
     */
    public void setSendFlag(int sendFlag)
    {
        this.sendFlag = sendFlag;
    }

    /* (非 Javadoc)
    * <p>Title: toString</p>
    * <p>Description: </p>
    * @return
    * @see java.lang.Object#toString()
    */
    @Override
    public String toString()
    {
        return "AlarmBean [id=" + id + ", httptime=" + httptime
                + ", availability=" + availability + ", delay=" + delay
                + ", loss=" + loss + ", siteid=" + siteid + ", userid="
                + userid + ", sendFlag=" + sendFlag + "]";
    }
    
}
